package com.fitgreat.smallface;

import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;

import static com.fitgreat.smallface.Constant.MODE;

public class MainActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
                WindowManager.LayoutParams.FLAG_FULLSCREEN);
        if(MODE.equals("ruijin")){
            setContentView(R.layout.activity_ruijin);
        }else if(MODE.equals("sanya")){
            setContentView(R.layout.activity_sanya);
        }

    }
}